package com.luoqiu.cinema.mapper;

import com.luoqiu.cinema.entity.UserInfo;import org.apache.ibatis.annotations.Param;import java.util.List;

public interface UserInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserInfo record);

    int insertSelective(UserInfo record);

    UserInfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserInfo record);

    int updateByPrimaryKey(UserInfo record);

    UserInfo loadByUsername(@Param("username") String username);

    List<UserInfo> loadAll(@Param("keyword") String keyword);
}